package com.neusoft.jsx.bean;

public class Goods {

	private int goodsNo;
	private String goodsName;
	/**
	 * Goods has-a GoodsType的关系,强依赖关系：组合依赖
	 */
	private GoodsType goodsType;
	
	/**
	 * Goods has-a Provider 的关系,强依赖关系：组合依赖
	 */
	private  Provider provider;
	private String specification;
	private String gRemark;
	private String mainImage;
	
	
	public Goods() {
		
	}
	
	public Goods(int goodsNo, String goodsName, GoodsType goodsType, Provider provider, String specification,
			String gRemark, String mainImage) {
		super();
		this.goodsNo = goodsNo;
		this.goodsName = goodsName;
		this.goodsType = goodsType;
		this.provider = provider;
		this.specification = specification;
		this.gRemark = gRemark;
		this.mainImage = mainImage;
	}

	public int getGoodsNo() {
		return goodsNo;
	}

	public void setGoodsNo(int goodsNo) {
		this.goodsNo = goodsNo;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public GoodsType getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(GoodsType goodsType) {
		this.goodsType = goodsType;
	}

	public Provider getProvider() {
		return provider;
	}

	public void setProvider(Provider provider) {
		this.provider = provider;
	}

	public String getSpecification() {
		return specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}

	public String getgRemark() {
		return gRemark;
	}

	public void setgRemark(String gRemark) {
		this.gRemark = gRemark;
	}

	public String getMainImage() {
		return mainImage;
	}

	public void setMainImage(String mainImage) {
		this.mainImage = mainImage;
	}

	@Override
	public String toString() {
		return "Goods [goodsNo=" + goodsNo + ", goodsName=" + goodsName + ", goodsType=" + goodsType + ", provider="
				+ provider + ", specification=" + specification + ", gRemark=" + gRemark + ", mainImage=" + mainImage
				+ "]";
	}

	
	
}
	